package cn.duli.myvideo.mapper;

import cn.duli.myvideo.pojo.Tv;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface TvMapper {

    List<Tv> queryLike(@Param("tvName") String tvName);

    Page<Tv> findAll();

    Tv findById(@Param("tvId") Integer tvId);

    void save(Tv tv);

    void update(Tv tv);

    void deleteById(@Param("tvId") Integer tvId);
}